Skip to contentSkip to conversation

Desktop icons oversaturated with red after December 11 2016 update

Bug 99078 [email protected] 1 participant 29 messages Dec 15, 2016 – Apr 11, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected]. |[email protected]
                   |org                         |.org
           Assignee|[email protected]. |[email protected]
                   |org                         |.org
          Component|Other                       |Drivers/Gallium/radeonsi
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #11 from [email protected] ---
(In reply to Michel Dänzer from comment #10)

Quoted 2 lines

There were quite a lot of changes between those two Mesa commits. Any chance you can bisect upstream Mesa Git?

Sorry, I'am not familiar with it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #12 from Furkan <[email protected]> ---
I'm experiencing a similar issue after updating to the same packages. I ran some tests last night, with Michel's suggestions on IRC. The problem goes away when I build Mesa against LLVM 3.8. So the bug was most likely introduced between with the LLVM update, going from 3.9.0 to 3.9.1rc3. Hopefully I'll get around to bisecting it to find the offending commit.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #13 from Furkan <[email protected]> ---
Does your problem disappear when you downgrade your LLVM packages to 3.9 from here:
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers/+sourcepub/6850286/+listing-archive-extra

If you run dpkg -l | grep 3.9.1, I think that should get you the list of packages that you'll need to download from that page.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #14 from Furkan <[email protected]> ---
I ran a bisect on the LLVM 3.9 branch, and found the bad commit:

commit 25e2616626caafb896517e18cd8aa724fba2b200

Author: Tom Stellard <[email protected]>
Date:   Tue Nov 29 03:41:28 2016 +0000
    Merging r280589:

    ------------------------------------------------------------------------
    r280589 | nhaehnle | 2016-09-03 05:26:32 -0700 (Sat, 03 Sep 2016) | 19

lines

AMDGPU: Fix an interaction between WQM and polygon stippling

Summary:
This fixes a rare bug in polygon stippling with non-monolithic pixel
shaders.

The underlying problem is as follows: the prolog part contains the polygon stippling sequence, i.e. a kill. The main part then enables WQM based on
the
_reduced_ exec mask, effectively undoing most of the polygon stippling.

Since we cannot know whether polygon stippling will be used, the main part of a non-monolithic shader must always return to exact mode to fix this problem.

Reviewers: arsenm, tstellarAMD, mareko

Subscribers: arsenm, llvm-commits, kzhuravl

Differential Revision: https://reviews.llvm.org/D23131

------------------------------------------------------------------------

git-svn-id:
https://llvm.org/svn/llvm-project/llvm/branches/release_39@288105
91177308-0d34-0410-b5e6-96231b3b80d8

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #15 from Furkan <[email protected]> ---
Created attachment 128600
--> https://bugs.freedesktop.org/attachment.cgi?id=128600&action=edit
LLVM bisect log

Attaching bisect log.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #16 from Michel Dänzer <[email protected]> --- Nicolai, please take a look.

Furkan, it might be helpful if you can attach the stderr output from Xephyr with R600_DEBUG=ps when performing the same reproduction steps with a bad and good commit.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Furkan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #17 from Furkan <[email protected]> ---
Created attachment 128622
--> https://bugs.freedesktop.org/attachment.cgi?id=128622&action=edit
Debug logs for 3.9.0 vs 3.9.1-git-25e2616

Sure, Michel.

I didn't rebuild the last good commit. So I'm comparing 3.9.0 (from oibaf ppa) with the first bad commit from 3.9.1 (25e2616). I hope that's close enough?

For each build, I've included both the stderr log using the R600_DEBUG envvar and a screenshot of what Xephyr looks like.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

John Brooks <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |bugs.freedesktop@fastquake.
                   |                            |com

--- Comment #18 from John Brooks <[email protected]> --- I also have this issue (and reverting commit 25e2616626caafb896517e18cd8aa724fba2b200 fixes it). Let me know if you need some testing/info.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Laurent carlier <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #19 from Laurent carlier <[email protected]> --- *** Bug 99215 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #20 from [email protected] ---
I had the same problem with Gentoo Linux when upgrading from llvm-3.9.0 to llvm-3.9.1: fbpanel icons exhibited a red shift. Reverting the above mentioned commit against llvm-3.9.1 fixed the problem.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #21 from [email protected] ---
Same problem using the stable mesa padoka ppa, as of the most recent build

llvm-toolchain-3.9 1:3.9.1-1~gd~x Oibaf (2017-01-08)

mesa 1:13.0.3-3~x~padoka0 Paulo Dias (2017-01-08)

https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Matt Turner <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.gentoo.org/sho
                   |                            |w_bug.cgi?id=603858
           Keywords|                            |bisected, regression
                 CC|                            |[email protected]
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #23 from Alec Ari <[email protected]> --- Same problem here, and for many other users:

https://bugs.gentoo.org/show_bug.cgi?id=603858

Reverting this patch fixes it:

https://github.com/llvm-mirror/llvm/commit/c280d74837d8239fc6cf567576b766ca3f4844c5

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

calexil <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

calexil <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #24 from calexil <[email protected]> --- *** Bug 99310 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #26 from Michel Dänzer <[email protected]> --- Nicolai, Tom, any ideas for a solution other than reverting this commit from the LLVM 3.9 branch?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #27 from Nicolai Hähnle <[email protected]> ---
I can reproduce this now. Setting R600_DEBUG=mono in the environment of the X server works around the problem. I'm still trying to understand the exact problem and why it wasn't caught by piglit testing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #28 from Matt Whitlock <[email protected]> --- (In reply to Nicolai Hähnle from comment #27)

Quoted 1 line

R600_DEBUG=mono

Does this workaround have any negative consequences (e.g., performance regressions), or is it suitable for use in a daily-driver environment?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#22 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #29 from Nicolai Hähnle <[email protected]> ---
It's almost certainly because we missed 01a133c760ebb8db1e204f76ba55c19558b1ce01 "AMDGPU: Do not clobber SCC in SIWholeQuadMode" when back-porting -- probably because that one is not straight-forward at all to back-port. The best course of action would indeed be to revert that commit; IIRC it fixes a bug in Kodi, but the impact of that is much less than widespread weird tints.

The part that really sucks is that I don't think an LLVM 3.9.2 is planned. We need to keep an eye out on whether this causes a problem in any distribution default installation.

FWIW, I haven't seen a problem in Ubuntu 16.10 even though it does have LLVM 3.9.1, probably because the default installation of Mesa is ancient.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#23 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #30 from Nicolai Hähnle <[email protected]> --- Re Matt, comment #28, that setting can result in more time spent on shader compiles. I don't think those are an issue in typical X server loads.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#24 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #31 from Shahar Or <[email protected]> --- I've been using Ubuntu 16.10 for several months without this issue.

On upgrade to 17.04, I was affected by this issue.

Here is the issue in Ubuntu's tracker:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.9/+bug/1656620

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#25 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #32 from Nicolai Hähnle <[email protected]> --- Corresponding LLVM bug: https://llvm.org/bugs/show_bug.cgi?id=31722

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#26 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

--- Comment #33 from Michel Dänzer <[email protected]> --- (In reply to Nicolai Hähnle from comment #29)

Quoted 2 lines

We need to keep an eye out on whether this causes a problem in any distribution default installation.

Looks like Debian 9 will have Mesa 13 using LLVM 3.9.1, so it would probably be affected.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#27 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Andre Heider <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |http://bugs.debian.org/8526
                   |                            |16

--- Comment #34 from Andre Heider <[email protected]> --- debian already reverted said patch for it's release 3.9.1-4

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852616

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#29 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99078

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #36 from Timothy Arceri <[email protected]> --- The upstream bug was closed as wont fix and seems most distros reverted the offending patch. Closing as wont fix.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel